setTrackTintList

open fun setTrackTintList(@Nullable tint: @Nullable ColorStateList)(source)

Applies a tint to the track drawable. Does not modify the current tint mode, which is SRC_IN by default.

Subsequent calls to setTrackDrawable will automatically mutate the drawable and apply the specified tint and tint mode using setTintList.

Parameters

tint

the tint to apply, may be null to clear tint

See also